<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>New Employee page</title>
</head>
<body>
<h1>New Employee page</h1>
<form:form method="POST" commandName="T1Employee" action="${pageContext.request.contextPath}/employee/create.html" >
<table>
<tbody>
<tr>
<td>Employee ID:</td>
<td><form:input path="idEmployee" /></td>
<td><form:errors path="idEmployee" cssStyle="color: red;"/></td>
</tr>
<tr>
<td>Employee Name:</td>
<td><form:input path="name" /></td>
<td><form:errors path="name" cssStyle="color: red;"/></td>
</tr>
<tr>
<td>Designation:</td>
<td><form:input path="designation" /></td>
<td><form:errors path="designation" cssStyle="color: red;"/></td>
</tr>
<tr>
<td>Email Address:</td>
<td><form:input path="emailAddress" /></td>
<td><form:errors path="emailAddress" cssStyle="color: red;"/></td>
</tr>
<tr>
<td>Contact No:</td>
<td><form:input path="contactNo" /></td>
<td><form:errors path="contactNo" cssStyle="color: red;"/></td>
</tr>
<tr>
<td>Department:</td>
<td><form:input path="department" /></td>
<td><form:errors path="department" cssStyle="color: red;"/></td>
</tr>
<tr>
<td>ReportTo:</td>
<td><form:input path="reportTo" /></td>
<td><form:errors path="reportTo" cssStyle="color: red;"/></td>
</tr>
<tr>
<td><input type="submit" value="Create" /></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</form:form>
<a href="${pageContext.request.contextPath}/">Home page</a>
</body>
</html>